import {Http} from '@/utils'

export function _getOrder(id) {
  return Http({
    url: '/order/' + id,
    method: 'get'
  })
}

export function _agree(id) {
  return Http({
    url: '/order/agree',
    method: 'patch',
    body: {id}
  })
}

export function _disagree(id) {
  return Http({
    url: '/order/disAgree',
    method: 'patch',
    body: {id}
  })
}
